package com.yaoran.userauth.dao;

import com.yaoran.userauth.entity.Application;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApplicationDao {
    void addApplication(Application application);

    List<Application> listApplication(String keyWord);

    void updateApplication(Application application);

    void deleteApplication(Long id);

    void deleteManyApplications(Long[] ids);

    Application getApplication(Long id);

    List<Application> listAllApplication(Long organizationId);
}
